package com.ttianjun.spring.model;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "ECP_EX_NEWS")
public class EcpNews {
   
    @Id
    @Column(name="NEWS_ID")
    private String id;
    
    @Column(name="NEWS_TITLE")
    private String title;
    
    @Column(name="NEWS_CONTENT")
    private String content;
    
    @Column(name="NEWS_PUBTIME")
    private Date pubTime;
    
    @Column(name="NEWS_KEYWORD")
    private String keyWord;
    
    @Column(name="NEWS_SUMMARY")
    private String summary;
    
    @Column(name="NEWS_TYPE")
    private String type;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPubTime() {
		return pubTime;
	}

	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
    
}